﻿<UserControl x:Class="WIN_UML_Editor.UCFinalState"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" d:DesignHeight="60" d:DesignWidth="100">

 
    <Grid Name="mainGrid">
        
        <!-- Definerer grid med højde og bredde, så elementerne automatisk justerer højde..  -->
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100"/>
        </Grid.ColumnDefinitions>
        <Ellipse Name="fill" Fill="DarkRed" Stroke="Black" StrokeThickness="2" Grid.Row="0" Height="30" Width="30"/>
            <TextBlock Padding="8" TextWrapping="Wrap" HorizontalAlignment="Center" TextAlignment="Center" Text="{Binding Name}" Grid.Row="1"/>
    </Grid>
</UserControl>